﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>错误</title>
</head>
<body>
    <hgroup>
        <h1>出错啦! 0..0</h1>
    </hgroup>
    <div id="msgId"></div>
    <script type="text/javascript">
        function GetUrlQueryValue(queryName) {
            var query = decodeURI(window.location.search.substring(1));
            var vars = query.split("&");
            for (var i = 0; i < vars.length; i++) {
                var pair = vars[i].split("=");
                if (pair[0] === queryName && pair.length === 2) { return pair[1]; }
            }
            return null;
        }
        (function () {
            document.getElementById("msgId").innerHTML = GetUrlQueryValue("msg");
        })();
    </script>
</body>
</html>
